package com.anti.modular.bus.houselease.param;

import com.anti.commom.pojo.BaseParam;
import com.anti.modular.bus.houseleaselive.entity.HouseLeaseLive;
import com.anti.modular.bus.roomdeposit.entity.RoomDeposit;
import com.anti.modular.bus.roomexpenses.entity.RoomExpenses;
import com.anti.modular.bus.roomfurniture.entity.RoomFurniture;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
* 房间租约参数类
 *
 * @author anti
 * @date 2021-05-06 09:30:21
*/
@Data
public class HouseLeaseTzParam extends BaseParam {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 退租日期
     */
    private String retrieveDate;

    /**
     * 租期开始时间
     */
    @NotNull(message = "租期开始时间不能为空，请检查rentStartDate参数", groups = {editXuZu.class})
    private String rentStartDate;

    /**
     * 租期结束时间
     */
    @NotNull(message = "租期结束时间不能为空，请检查rentEndDate参数", groups = {editXuZu.class})
    private String rentEndDate;

    private BigDecimal amount;

    /**
     * 涨降方式 1 涨 2降
     */
    private int zjStyle;

    /**
     * 参数校验分组：编辑
     */
    public @interface editXuZu {
    }
}
